package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.pojos.ArticleHomeDTO;

public interface ApArticleService extends IService<ApArticle> {

    /**
     * 文章发布
     * @param newsId
     */
    public void publishArticle(Integer newsId);


    public ResponseResult load(ArticleHomeDTO dto ,Short type);
}